﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TuanHuy.DAL.EntityClasses;
using TuanHuy.BLL;

public partial class Admin_CreateProjectCatolery : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void btnSave_Click(object sender, EventArgs e)
    {
        try
        {

            ProjectCatogeryEntity cat = new ProjectCatogeryEntity();
            cat.CatogeryName = txtName.Text;
            ProjectCatogeryManager.CreateInstant().Insert(cat);
            ltMessage.Text = "Thêm project catolery thành công";
        }
        catch (Exception ex) { }
    }
}